package cn.itsource.pethome.org.service;

import cn.itsource.pethome.basic.service.IBaseService;
import cn.itsource.pethome.org.domain.Department;
import cn.itsource.pethome.org.query.DepartmentQuery;
import cn.itsource.pethome.basic.util.PageInfo;

import java.util.List;

public interface IDepartmentService extends IBaseService<Department> {
    /**
     * 批量删除
     * @param departments
     */
    void deleteMany(List<Department> departments);

    /**
     * 查询所有的部门树
     * @return
     */
    List<Department> findDepartmentTree();
}
